/**
 * @Author 韦建韩
 * @Date 2022/4/19
 */
package com.example.devops.Manage.UserManager;

import com.example.devops.entity.pojo.User;

public class UserInfoManage {
    private static ThreadLocal<User> value = new ThreadLocal<>();
    public static User get(){
        return value.get();
    }
    public static void set(User user){
        value.set(user);
    }
    public static void remove(){
        value.remove();
    }

}
